package com.fly.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fly.bean.Task;
import com.fly.util.Page;

import java.io.BufferedReader;
import java.util.Date;

public class TaskDatePageVo {

    @JsonFormat
    private Date startDate;

    @JsonFormat
    private Date endDate;

    private Task task;

    private Page page;

    private Integer userId;

    private Integer roleId;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Task getTask() {
        return task;
    }

    public void setTask(Task task) {
        this.task = task;
    }

    public Page getPage() {
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }

    public TaskDatePageVo() {
    }

    public TaskDatePageVo(Date startDate, Date endDate, Task task, Page page, Integer userId) {
        this.startDate = startDate;
        this.endDate = endDate;
        this.task = task;
        this.page = page;
        this.userId = userId;
    }
}
